﻿<Selection:SelectControl x:Class="jSLApp.Client.Forms.GenreList"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Selection="clr-namespace:jSLCore.Client.Presentation.BaseControl.Selection;assembly=jSLCore.Client.Presentation" xmlns:local="clr-namespace:jSLApp.Client.Controls" xmlns:j="clr-namespace:jSLCore.Client.Presentation.Controls;assembly=jSLCore.Client.Presentation" xmlns:Selection1="clr-namespace:jSLCore.Client.Presentation.Wpf.TelerikSupport.Selection;assembly=jSLCore.Client.Presentation.Telerik" xmlns:BaseControl="clr-namespace:jSLCore.Client.Presentation.BaseControl;assembly=jSLCore.Client.Presentation" xmlns:Security="clr-namespace:jSLApp.Client.Security" mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    <j:ImageGroupBox>
        <j:ImageGroupBox.Header>
            <Button Content="Создать" Click="addGenre_Clicked" HorizontalAlignment="Left">
                <BaseControl:BaseControl.jBinding>
                    <Security:SecurityBinding Permission="CreateNewGenre"/>
                </BaseControl:BaseControl.jBinding>
            </Button>
        </j:ImageGroupBox.Header>
        <local:GenreGrid x:Name="grid">
            <local:GenreGrid.Columns>
                <Selection1:ImageButtonColumn ButtonImage="../Resources/delete.png" ButtonTooltip="Удалить жанр" Click="deleteGenre_Clicked">
                    
                </Selection1:ImageButtonColumn>
            </local:GenreGrid.Columns>
        </local:GenreGrid>
    </j:ImageGroupBox>
</Selection:SelectControl>
